package szk.exam.service;
/*
 * @Description:
 * @Author: 山志凯
 * @Date: 2021-06-16 08:57
 */

import szk.exam.pojo.Student;

import java.sql.SQLException;
import java.util.List;

public interface StuService {
    boolean login(String userName, String userPwd) throws SQLException;

    List<Student> getAll() throws SQLException;
//    //1、基本的增删改查
//     Student get(int id) throws SQLException;
//     List<Student> getAll() throws SQLException;
//     int add(Student stu) throws SQLException;
//     int edit(Student stu) throws SQLException;
//     int del(int id) throws SQLException;
//     //2、和业务有关的方法
//     boolean login(String stuName,String stuPwd) throws SQLException;
}
